/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.shop.device;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 门店设备 Model
*
* @author 17607080935
* @date 2025-01-08 17:12:50
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysShopDeviceModel extends ApiWrapper {

    @ApiModelProperty(value = "禁用的时间点")
    List<Integer> timeNode;

    /** 设备标题 */
    @ApiModelProperty(value = "设备标题")
    @ExcelProperty(value = "设备标题", order = 1)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(225)
    private String title;

    /** 设备图片 */
    @ApiModelProperty(value = "设备图片")
    @ExcelProperty(value = "设备图片", order = 2)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    private String images;

    /** 设备描述 */
    @ApiModelProperty(value = "设备描述")
    @ExcelProperty(value = "设备描述", order = 3)
    @ExcelInfo
    @ValidatorLenMax(225)
    private String remarks;

    /** 设备标签 */
    @ApiModelProperty(value = "设备标签")
    @ExcelProperty(value = "设备标签", order = 4)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(225)
    private String tag;

    /** 设备状态 */
    @ApiModelProperty(value = "设备状态")
    @ExcelProperty(value = "设备状态", order = 5)
    @ExcelInfo( dictType = "sys_shop_device_status" )
    @Validator({
        ValidatorType.IS_NOT_NULL, 
        ValidatorType.IS_INTEGER
    })
    @ValidatorLenMax(2)
    private String status;

    /** 设备类型 */
    @ApiModelProperty(value = "设备类型")
    @ExcelProperty(value = "设备类型", order = 6)
    @ExcelInfo( dictType = "sys_shop_device_type" )
    @Validator({
        ValidatorType.IS_NOT_NULL, 
        ValidatorType.IS_INTEGER
    })
    @ValidatorLenMax(2)
    private String type;



    /** 多租户字段 */
    private String orgIds;

    /** 多租户字段 */
    private String tenantId;

    /** 删除 */
    private Integer delectd =0;

}